package cn.iocoder.yudao.module.enterprise.dal.mysql.emissionbasis;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.enterprise.dal.dataobject.emissionbasis.EmissionBasisDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 排放基准 Mapper
 *
 * @author StevenShen
 */
@Mapper
public interface EmissionBasisMapper extends BaseMapperX<EmissionBasisDO> {

    default EmissionBasisDO selectOneByCategory(Integer category) {
        return selectOne(EmissionBasisDO::getCategory, category);
    }

}
